add_mlir_dialect_library(MLIRSparseTensorTransforms
  Sparsification.cpp
  SparseTensorConversion.cpp
  SparseTensorPasses.cpp

  ADDITIONAL_HEADER_DIRS
  ${MLIR_MAIN_INCLUDE_DIR}/mlir/Dialect/SparseTensor

  DEPENDS
  MLIRSparseTensorPassIncGen

  LINK_LIBS PUBLIC
  MLIRIR
  MLIRLLVMIR
  MLIRLinalg
  MLIRLinalgTransforms
  MLIRMemRef
  MLIRPass
  MLIRSCF
  MLIRStandard
  MLIRSparseTensor
  MLIRSparseTensorUtils
  MLIRTensor
  MLIRTransforms
  MLIRVector
)
